<template>
  <div>
    <h3>这个son组件--nextTick--{{ num }}</h3>
    <!-- <button @click="hUpdate">同步修改</button> -->
  </div>

</template>

<script>
export default {
  // props接受值是异步的
  props: {
    num: {
      type: Number,
      required: true
    }
  },
  methods: {
    hUdate() {
      console.log('update')
    }
  }
}
</script>

<style>

</style>
